home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000055_news@columbia.edu _Wed Apr 4 13:12:46 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2001-09-20
|
4KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA13557
for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 4 Apr 2001 13:12:46 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA25207
for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Apr 2001 12:51:08 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: File transfer apps
Date: 4 Apr 2001 16:51:07 GMT
Organization: Columbia University
Message-ID: <9afjdr$ojk$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <9afev4$pmc$1@news.panix.com>,
Jeremiah DeWitt Weiner <jdw+USENET@panix.com> wrote:
: Vasilis Serghi <vserghi@jaguar.com> wrote:
: > Is there an application out there, like laplink, that can be used for
: > transferring files over parallel or serial cables? Something that is
: > transparent to the OS type would be good.
:
: Depends how you want to do it. You could just hook up the two
: systems with the correct cable and do "cat myfile > /dev/ttyS1" on one
: and "cat /dev/ttyS1 > myfile" on the other, but that's pretty ugly.
:
And risky, definitely not guaranteed to work since there is no error
detection or correction.
: Alternately, you could set up a getty on one machine's serial port, and
: then log in with something like minicom over the serial line, and use
: zmodem (or xmodem, or kermit...) Or you could set up SLIP/PPP (for a
: serial line) or PLIP (for a parallel connection) and then you can use
: anything that works on top of TCP/IP.
:
I'm not aware of anything that can use a parallel cable connection in
UNIX for data transfer, but with serial ports and a null-modem cable,
you can use Kermit:
http://www.columbia.edu/kermit/ckermit.html
No need for minicom -- it calls Kermit anyway to transfer files, and Kermit
itself already does everything minicom does. IMPORTANT (no matter what
software you use): the null-modem cable should be fully populated with all
the appropriate crossovers, especially RTS and CTS.
Two scenarios:
1. On the "far" machine, if you have a getty, then you can make the serial
port connection to it from the near machine, log in, start Kermit on the
far machine, and transfer files in the normal way.
2. If you do not have a getty on the far machine, but it is physically
accessible to you, you can start Kermit on it and direct it to the port
to which the null-modem cable is connected, put it in server mode, and
then go back to the other computer and give client commands to send and
get files.
Example for scenario 1, starting on the near computer:
$ kermit
C-Kermit> set port /dev/ttyS0 <-- Substitute appropriate port
C-Kermit> set speed 57600 <-- Or other desired speed
C-Kermit> set flow rts/cts <-- Use hardware flow control
C-Kermit> connect
<press Enter key if you don't see anything>
login: jdw
Password: blah
$ kermit <-- Start Kermit on far computer
C-Kermit> <-- Far Kermit's prompt
C-Kermit> server <-- Put the far Kermit in server mode
<Type Ctrl-\ and then the letter c to escape back to near Kermit>
C-Kermit> <-- Near Kermit's prompt
Now you can give SEND, GET, REMOTE xxx, and BYE commands to the near
Kermit. Type HELP at the C-Kermit> prompt if you need help.
Example for scenario 2:
On the far computer:
$ kermit
C-Kermit> set port /dev/ttyS2 <-- Substitue appropriate port
C-Kermit> set speed 57600 <-- Or other desired speed
C-Kermit> set flow rts/cts <-- hwfc
C-Kermit> server <-- Start server mode
On the near computer:
$ kermit
C-Kermit> set port /dev/ttyS0 <-- Substitue appropriate port
C-Kermit> set speed 57600 <-- Must be same speed as far computer
C-Kermit> set flow rts/cts <-- hwfc
C-Kermit>
Now you can give SEND, GET, REMOTE xxx, and BYE commands to the near
Kermit.
- Frank